Optimal. Leaf size=233 \[ -\frac {b \sqrt {d} \left (12 a c-7 b^2 d\right ) \left (4 a c-b^2 d\right ) \tanh ^{-1}\left (\frac {b d+2 c \sqrt {\frac {d}{x}}}{2 \sqrt {c} \sqrt {d} \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}\right )}{128 c^{9/2}}-\frac {b \left (12 a c-7 b^2 d\right ) \left (b d+2 c \sqrt {\frac {d}{x}}\right ) \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{64 c^4}+\frac {\left (32 a c-35 b^2 d+42 b c \sqrt {\frac {d}{x}}\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x} \]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 233, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {1970, 1357, 742, 779, 612, 621, 206} \begin {gather*} \frac {\left (32 a c-35 b^2 d+42 b c \sqrt {\frac {d}{x}}\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {b \left (12 a c-7 b^2 d\right ) \left (b d+2 c \sqrt {\frac {d}{x}}\right ) \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{64 c^4}-\frac {b \sqrt {d} \left (12 a c-7 b^2 d\right ) \left (4 a c-b^2 d\right ) \tanh ^{-1}\left (\frac {b d+2 c \sqrt {\frac {d}{x}}}{2 \sqrt {c} \sqrt {d} \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}\right )}{128 c^{9/2}}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 612
Rule 621
Rule 742
Rule 779
Rule 1357
Rule 1970
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{x^3} \, dx &=-\frac {\operatorname {Subst}\left (\int x \sqrt {a+b \sqrt {x}+\frac {c x}{d}} \, dx,x,\frac {d}{x}\right )}{d^2}\\ &=-\frac {2 \operatorname {Subst}\left (\int x^3 \sqrt {a+b x+\frac {c x^2}{d}} \, dx,x,\sqrt {\frac {d}{x}}\right )}{d^2}\\ &=-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x}-\frac {2 \operatorname {Subst}\left (\int x \left (-2 a-\frac {7 b x}{2}\right ) \sqrt {a+b x+\frac {c x^2}{d}} \, dx,x,\sqrt {\frac {d}{x}}\right )}{5 c d}\\ &=\frac {\left (32 a c-7 b \left (5 b d-6 c \sqrt {\frac {d}{x}}\right )\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x}-\frac {\left (b \left (12 a c-7 b^2 d\right )\right ) \operatorname {Subst}\left (\int \sqrt {a+b x+\frac {c x^2}{d}} \, dx,x,\sqrt {\frac {d}{x}}\right )}{16 c^3}\\ &=-\frac {b \left (12 a c-7 b^2 d\right ) \left (b d+2 c \sqrt {\frac {d}{x}}\right ) \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{64 c^4}+\frac {\left (32 a c-7 b \left (5 b d-6 c \sqrt {\frac {d}{x}}\right )\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x}-\frac {\left (b \left (12 a c-7 b^2 d\right ) \left (4 a c-b^2 d\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {a+b x+\frac {c x^2}{d}}} \, dx,x,\sqrt {\frac {d}{x}}\right )}{128 c^4}\\ &=-\frac {b \left (12 a c-7 b^2 d\right ) \left (b d+2 c \sqrt {\frac {d}{x}}\right ) \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{64 c^4}+\frac {\left (32 a c-7 b \left (5 b d-6 c \sqrt {\frac {d}{x}}\right )\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x}-\frac {\left (b \left (12 a c-7 b^2 d\right ) \left (4 a c-b^2 d\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\frac {4 c}{d}-x^2} \, dx,x,\frac {b+\frac {2 c \sqrt {\frac {d}{x}}}{d}}{\sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}\right )}{64 c^4}\\ &=-\frac {b \left (12 a c-7 b^2 d\right ) \left (b d+2 c \sqrt {\frac {d}{x}}\right ) \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{64 c^4}+\frac {\left (32 a c-7 b \left (5 b d-6 c \sqrt {\frac {d}{x}}\right )\right ) \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{120 c^3}-\frac {2 \left (a+b \sqrt {\frac {d}{x}}+\frac {c}{x}\right )^{3/2}}{5 c x}-\frac {b \sqrt {d} \left (12 a c-7 b^2 d\right ) \left (4 a c-b^2 d\right ) \tanh ^{-1}\left (\frac {\sqrt {d} \left (b+\frac {2 c \sqrt {\frac {d}{x}}}{d}\right )}{2 \sqrt {c} \sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}\right )}{128 c^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.13, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a+b \sqrt {\frac {d}{x}}+\frac {c}{x}}}{x^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 180.43, size = 0, normalized size = 0.00 \begin {gather*} \text {\$Aborted} \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.14, size = 615, normalized size = 2.64 \begin {gather*} -\frac {\sqrt {\frac {a x +\sqrt {\frac {d}{x}}\, b x +c}{x}}\, \left (105 \left (\frac {d}{x}\right )^{\frac {5}{2}} b^{5} \sqrt {c}\, x^{5} \ln \left (\frac {\sqrt {\frac {d}{x}}\, b x +2 c +2 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \sqrt {c}}{\sqrt {x}}\right )-600 \left (\frac {d}{x}\right )^{\frac {3}{2}} a \,b^{3} c^{\frac {3}{2}} x^{4} \ln \left (\frac {\sqrt {\frac {d}{x}}\, b x +2 c +2 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \sqrt {c}}{\sqrt {x}}\right )-210 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, a \,b^{4} d^{2} x^{3}-210 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \left (\frac {d}{x}\right )^{\frac {5}{2}} b^{5} x^{5}+720 \sqrt {\frac {d}{x}}\, a^{2} b \,c^{\frac {5}{2}} x^{3} \ln \left (\frac {\sqrt {\frac {d}{x}}\, b x +2 c +2 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \sqrt {c}}{\sqrt {x}}\right )+360 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, a^{2} b^{2} c d \,x^{3}+780 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \left (\frac {d}{x}\right )^{\frac {3}{2}} a \,b^{3} c \,x^{4}-720 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, \sqrt {\frac {d}{x}}\, a^{2} b \,c^{2} x^{3}+210 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} b^{4} d^{2} x^{2}-360 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} a \,b^{2} c d \,x^{2}-420 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} \left (\frac {d}{x}\right )^{\frac {3}{2}} b^{3} c \,x^{3}+720 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} \sqrt {\frac {d}{x}}\, a b \,c^{2} x^{2}+560 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} b^{2} c^{2} d x -512 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} a \,c^{3} x -672 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} \sqrt {\frac {d}{x}}\, b \,c^{3} x +768 \left (a x +\sqrt {\frac {d}{x}}\, b x +c \right )^{\frac {3}{2}} c^{4}\right )}{1920 \sqrt {a x +\sqrt {\frac {d}{x}}\, b x +c}\, c^{5} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {b \sqrt {\frac {d}{x}} + a + \frac {c}{x}}}{x^{3}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {a+\frac {c}{x}+b\,\sqrt {\frac {d}{x}}}}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a + b \sqrt {\frac {d}{x}} + \frac {c}{x}}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________